package com.car.dal.object;


import java.util.List;

import com.car.annotation.DBField;
import com.car.annotation.DBTable;


@DBTable(tableName = "tg_department", defaultSort = "id", defaultDir = "asc")
public class TgDepartment  {
	@DBField(field="id")
	private Long id ;
	@DBField(field="keyname")
	private String keyname;
	@DBField(field="name")
	private String name ;
	@DBField(field="parent")
	private String parent;
	@DBField(field="orders")
	private Integer orders ;
	
	private List<TgDepartment> list;
	private List<TgUser> ulist;
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getKeyname() {
		return keyname;
	}
	public void setKeyname(String keyname) {
		this.keyname = keyname;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getParent() {
		return parent;
	}
	public void setParent(String parent) {
		this.parent = parent;
	}
	public List<TgDepartment> getList() {
		return list;
	}
	public void setList(List<TgDepartment> list) {
		this.list = list;
	}
	public List<TgUser> getUlist() {
		return ulist;
	}
	public void setUlist(List<TgUser> ulist) {
		this.ulist = ulist;
	}
	public Integer getOrders() {
		return orders;
	}
	public void setOrders(Integer orders) {
		this.orders = orders;
	}
	
}
